package 多线程.创建线程的方式;

import java.util.concurrent.locks.LockSupport;

public class CreateThread {
    public static void main(String[] args) {
        // 无参
        Thread thread = new Thread();
        // 有参构造
        Thread thread2 = new Thread(()->{});

    }
}
